{% set x = c.ctx %} {% set running = x.events|selectattr('state','equalto','running')|list %} {% set upcoming = x.events|selectattr('state','equalto','upcoming')|list %} {% for e in running %}
{{ e.line }}
{% if e.badges %}Running now. You are not in it.
{% endif %}{{ g.line }}
{% if g.badges %}{{ e.sign }} {{ e.name }} starts in {{ e.starts_in_days }} day{{ '' if e.starts_in_days == 1 else 's' }} ({{ e.event.starts }}){% if e.joined %} — you're in{% else %} —
{% endif %} {% endfor %} {% for g in x.programs|default([])|selectattr('state','equalto','idle')|selectattr('enabled') %}{{ g.sign }} {{ g.name }} · {{ g.days }} days, from the day you start —
{% endfor %} {% if not x.events and not x.programs|default([]) %}{{ x.n }} playset{{ '' if x.n == 1 else 's' }} installed. Training, prompts, mantras, badges and events, made by other people, installed from a file.
{% endif %} Playsets →